package cn.iocoder.yudao.module.tms.service.orderfollowlog;

import cn.iocoder.yudao.module.tms.dal.dataobject.orderfollowlog.OrderFollowLogAttachmentDO;

import java.util.List;

/**
 * 产品跟进记录附件 Service 接口
 *
 * @author 芋道源码
 */
public interface OrderFollowLogAttachmentService {

    /**
     * 根据跟进记录ID获取附件列表
     *
     * @param followLogId 跟进记录ID
     * @return 附件列表
     */
    List<OrderFollowLogAttachmentDO> getAttachmentsByFollowLogId(Long followLogId);

    /**
     * 保存跟进记录附件
     *
     * @param followLogId 跟进记录ID
     * @param attachments 附件列表
     */
    void saveFollowLogAttachments(Long followLogId, List<OrderFollowLogAttachmentDO> attachments);

    /**
     * 删除跟进记录关联的所有附件
     *
     * @param followLogId 跟进记录ID
     */
    void deleteAttachmentsByFollowLogId(Long followLogId);

}